package cn.janyd.action;

import java.nio.charset.StandardCharsets;

/**
 * @author Janyd
 * @since 2020-08-08 16:12
 */
public interface Constants {

    String EMPTY = "";
    String SLASH = "/";
    String DOT_JAVA = ".java";
    String DOT_XML = ".xml";

    String UTF8 = StandardCharsets.UTF_8.name();

    String DATA_OBJECT_TEMPLATE = "/template/dataobject.ftl";
    String MAPPER_CLASS_TEMPLATE = "/template/mapper.java.ftl";
    String MAPPER_XML_TEMPLATE = "/template/mapper.xml.ftl";

    String MAPPER_SUFFIX = "Mapper";

    String BASE_MAPPER = "BaseMapper";
    String BASE_MAPPER_CLASS = "com.baomidou.mybatisplus.core.mapper.BaseMapper";
}
